home *** CD-ROM | disk | FTP | other *** search
- global onIBM, theQTMovie, gEndMovie
-
- on enterFrame
- if onIBM then
- pause()
- else
- set gEndMovie to 0
- end if
- end
-
- on exitFrame
- repeat while not mouseDown() and not (the commandDown)
- if QTGetCurrtime(theQTMovie) < the duration of theQTMovie then
- QTIdle(theQTMovie)
- next repeat
- end if
- QTPause(theQTMovie)
- QTDispose(theQTMovie)
- set gEndMovie to 1
- exit repeat
- end repeat
- if gEndMovie then
- go("introPause")
- else
- go(the frame)
- end if
- end
-
- on idle
- if onIBM then
- if QTGetCurrtime(theQTMovie) >= the duration of theQTMovie then
- QTPause(theQTMovie)
- QTDispose(theQTMovie)
- go("introPause")
- end if
- else
- repeat while not mouseDown() and not (the commandDown)
- if QTGetCurrtime(theQTMovie) < the duration of theQTMovie then
- QTIdle(theQTMovie)
- next repeat
- end if
- QTPause(theQTMovie)
- QTDispose(theQTMovie)
- set gEndMovie to 1
- exit repeat
- end repeat
- if gEndMovie then
- go("introPause")
- else
- go(the frame)
- end if
- end if
- end
-